package com.hl.service.serviceImpl;

import com.hl.domain.Consultreply;
import com.hl.domain.ConsultreplyAndzixun;
import com.hl.mapper.ConsultproblemMapper;
import com.hl.mapper.ConsultreplyMapper;
import com.hl.service.ConsultreplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：王祖威
 * @Date ：2024/9/11 16:14
 */
@Service
public class ConsultreplyServiceImpl implements ConsultreplyService {
    @Autowired
    private ConsultreplyMapper consultreplyMapper;

    @Override
    public List<ConsultreplyAndzixun> findAll() {
        return consultreplyMapper.findAll();
    }

    @Override
    public List<Consultreply> findlike(String name) {
        return consultreplyMapper.findlike(name);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return consultreplyMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(Consultreply record) {
        return consultreplyMapper.insertSelective(record);
    }

    @Override
    public int updateByPrimaryKeySelective(Consultreply record) {
        return consultreplyMapper.updateByPrimaryKeySelective(record);
    }
}
